<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<script type="text/javascript">
		//<![CDATA[
		//debe usarse los \\:  en lugar de : en los selectores de JQuery
		$(document).ready(function() {
			wizardSetCurrentPageStyle('form_wizard:confirmationData');
			showContent("form_confirmation_data\\:confirm_acordion\\:step1", "../owner_confirm/personal_data.xhtml");
			showContent("form_confirmation_data\\:confirm_acordion\\:step2", "../owner_confirm/contact_data.xhtml");
			showContent("form_confirmation_data\\:confirm_acordion\\:step3", "../owner_confirm/economic_data.xhtml");
			showContent("form_confirmation_data\\:confirm_acordion\\:step4", "../owner_confirm/innovation_data.xhtml");
			showContent("form_confirmation_data\\:confirm_acordion\\:step5", "../owner_confirm/associativity_data.xhtml");
			showContent("form_confirmation_data\\:confirm_acordion\\:step6", "../owner_confirm/associativity_dataB.xhtml");
			
		});
		//]]>
	</script>
</h:head>
<h:body>
	<h:form id="form_confirmation_data">
		<h2>
			<h:outputLabel value="#{i18n['lbl.owner.confirmation.title']}" />
		</h2>


		<p:accordionPanel id="confirm_acordion">
			<p:tab id="step1" title="#{i18n['lbl.owner.personal_data.title']}">
			</p:tab>
			<p:tab id="step2" title="#{i18n['lbl.owner.contact_data.title']}">
			</p:tab>
			<p:tab id="step3" title="#{i18n['lbl.owner.economic_data.title']}">
			</p:tab>
			<p:tab id="step4" title="#{i18n['lbl.owner.innovation.title']}">
			</p:tab>
			<p:tab id="step5" title="#{i18n['lbl.owner.associativity.title']}">
			</p:tab>
			<p:tab id="step6" title="#{i18n['lbl.owner.associativity.title']} 2">
			</p:tab>
			<p:tab id="step7" title="#{i18n['lbl.owner.farm_general_data.title']}">
			</p:tab>
			<p:tab id="step8"
				title="#{i18n['lbl.owner.farm_general_data.title']} 2">
			</p:tab>
			<p:tab id="step9"
				title="#{i18n['lbl.owner.agrarian_business_perspective.title']}">
			</p:tab>
			<p:tab id="step10"
				title="#{i18n['lbl.owner.animal_business_perspective.title']}">
			</p:tab>
			<p:tab id="step11"
				title="#{i18n['lbl.owner.forest_business_perspective.title']}">
			</p:tab>
			<p:tab id="step12"
				title="#{i18n['lbl.owner.ownership_learning.title']}">
			</p:tab>
		</p:accordionPanel>
		<br />
		<br />
		<div class="buttons-container clearfix text-align-right">
			<p:commandButton value="#{i18n['lbl.flow_button.back']}"
				oncomplete="setCurrentPageStyle(xhr, status, args,this)"
				styleClass="ui-flowbutton" update="form_confirmation_data"
				actionListener="#{stepByStepController.viewOwnershipLearningData}" />
			<p:commandButton value="#{i18n['lbl.flow_button.terminate']}"
				styleClass="ui-flowbutton"
				oncomplete="currentPage('list_owner_data.xhtml')"
				actionListener="#{stepByStepController.cancelRuatRegister}" />				
		</div>

	</h:form>
</h:body>

</html>